package jsu.xxy.coffee3.domain;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 
 * @TableName commodity_material
 */
@TableName(value ="commodity_material")
@Data
public class CommodityMaterial implements Serializable {
    /**
     * 
     */
//    @TableId(value = "cid" , type = IdType.AUTO)
    private Integer cid;

    /**
     * 
     */
    private Integer mid;
//    @TableId(value = "mid" , type = IdType.AUTO)

    /**
     * 
     */
    private Integer cmnum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cId=").append(cid);
        sb.append(", mId=").append(mid);
        sb.append(", cmNum=").append(cmnum);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}